package com.itheima.app.controller;

import com.itheima.app.manager.SettingManager;
import com.itheima.service.db.NotificationService;
import com.itheima.service.db.QuestionService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zsk
 * @create 2022-03-22-21:20
 */
@RestController
public class SettingController {

    @Autowired
    private SettingManager settingManager;

    //查看通用设置
    @GetMapping("/users/settings")
    public ResponseEntity settings(){
        //调用manager
        return settingManager.settings();

    }


}
